package com.qiangesoft.bootcodegen.pojo.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * <p>
 * 数据库表配置传输对象
 * </p>
 *
 * @author qiangesoft
 * @date 2024-03-13
 */
@ApiModel(value = "数据库表配置传输对象")
@Data
public class BcgTableConfigDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    @NotBlank(message = "表名称不能为空")
    @ApiModelProperty(value = "表名称")
    private String tableName;

    @NotBlank(message = "表注释不能为空")
    @ApiModelProperty(value = "表注释")
    private String tableComment;

    @NotBlank(message = "生产作者不能为空")
    @ApiModelProperty(value = "生成作者")
    private String genAuthor;

    @NotBlank(message = "生成方式不能为空")
    @ApiModelProperty(value = "生成方式：0-zip 1-路径")
    private String genType;

    @ApiModelProperty(value = "生成路径")
    private String genPath;

    @NotBlank(message = "生成包路径不能为空")
    @ApiModelProperty(value = "生成包路径")
    private String genPackage;

    @ApiModelProperty(value = "生成模块名")
    private String genModule;

    @ApiModelProperty(value = "生成业务名")
    private String genBusiness;

    @NotBlank(message = "生成实体类名不能为空")
    @ApiModelProperty(value = "生成实体类名")
    private String genClass;

    @NotBlank(message = "生成功能描述不能为空")
    @ApiModelProperty(value = "生成功能描述")
    private String genFunction;

    @ApiModelProperty(value = "备注")
    private String remarks;

}
